home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
GRAPH_FO
/
(GRAPH
/
CGRAPHTE
/
CGRAPHPA.H
< prev
next >
Wrap
Text File
|
1991-05-12
|
2KB
|
68 lines
/******************************************************************************
CGraphPane.h
SUPERCLASS = CFontorama.c
Copyright ⌐ 1991 Maarten Meijer. All rights reserved.
CIS 100016,1764; FidoNet 2:512/114
*******************************************************************************/
#define _H_CGraphPane
/* includes */
#include "CFontorama.h" /* Interface for its superclass */
#include "Graph.h"
/* class definition */
struct CGraphPane : CFontorama { /* Class Declaration */
/** Instance Variables **/
Graph *itsGraph;
/** Instance Methods **/
void DoCommand(long cmd); /* OVERRIDE */
void UpdateMenus(void); /* OVERRIDE */
/** Contruction/Destruction **/
void IGraphPane(CView *anEnclosure, CBureaucrat *aSupervisor,
short aWidth, short aHeight,
short aHEncl, short aVEncl,
SizingOption aHSizing, SizingOption aVSizing);
void IViewTemp(CView *anEnclosure, CBureaucrat *aSupervisor,
Ptr viewData);
void WViewTemp(Ptr viewData);
void SaveDefault(void);
long GetTempSize(void);
/** Drawing **/
void Draw(Rect *area);
/** Printing **/
void PrepareToPrint(void);
/** Mouse **/
void DoClick(Point hitPt, short modifierKeys, long when);
Boolean HitSamePart(Point pointA, Point pointB);
/** Cursor **/
void AdjustCursor(Point where, RgnHandle mouseRgn);
/** Scrolling **/
void ScrollToSelection(void);
/** Disposal **/
void Dispose(); /* override */
/** Selection **/
void SelectConnected(void);
};
/* typedefs */
typedef struct { /* Panorama template */
PanoramaTemp sPanoramaTemp;
Point theGrid;
short flags;
short textSize;
short textFace;
Str255 textFName;
} GraphPaneTemp, *GraphPaneTempP;
/* defines */
#define kNoUndoTASK 0